<template>
  <div>
    <el-button @click="_import">import</el-button>
    <kunkka-import-local />
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
export default {
  data() {
    return {

    }
  },
  computed: {
    ...mapGetters([
      'kunkkaImportLocal'
    ])
  },
  mounted() {

  },
  methods: {
    _import: function() {
      this.$store.dispatch('kunkkaImportLocal/toggleSetModel', {
        visible: true,
        templateAction: 'kunkkaDetailList/test'
      })
    }
  }
}
</script>
<style lang="scss">
.Kunkka-collapse-form {
  .el-form-item--mini.el-form-item {
    margin-bottom: 0
  }
}

</style>
